sched: move up the trace record for vcpu_wake and vcpu_sleep
authorDario Faggioli <dario.faggioli@citrix.com>
Thu, 18 Feb 2016 14:03:15 +0000 (15:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 18 Feb 2016 14:03:15 +0000 (15:03 +0100)
commit5da5a383a08a60382d6bc0c78ee1cb91a733250c
tree6ae324b3789b8832b28dc6e8ff45b78addb4417c
parentea034623e434297711706bccfd8995485249ac10
sched: move up the trace record for vcpu_wake and vcpu_sleep

vcpu_wake() and vcpu_sleep() are called before the specific
schedulers wakeup and sleep routines (in fact, it is them
that calls those specific routine).

Make the trace reflect that, by moving the records up. In
fact, it is more natural and easy to find the record of
the event (e.g., the wakeup) *before* the records of the
actions that deals with the event itself.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/common/schedule.c